"""
包含每条query准备输出的信息
"""


class ResponseContent:
    def __init__(self):
        self._resources_map = {"search_success": False}
        self.retrieve_result = {}
        self.final_result = {}

    def store_value(self, key, value):
        self._resources_map[key] = value

    def get_value(self, key):
        if key not in self._resources_map:
            print("%s does not exist in response content map,recheck your code to avoid")
            return None
        else:
            return self._resources_map[key]
